/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/9 14:01
 * @copyright: 博为峰
 */
public class SwitchDemo {
    public static void main(String[] args) {
        int month = 9;
        switch (month) {
            case 1:
            case 3:
            case 5:
            case 7:
            case 8:
            case 10:
            case 12:
                System.out.println("31天");
                break;
            case 2:
                System.out.println("29天");
                break;
            case 4:
            case 6:
            case 9:
            case 11:
                System.out.println("30天");
                break;
            default:
                System.out.println("无");
        }
    }
}
